package cm.server.dao;

import cm.server.entity.SensorPosition;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author zy
 * @description
 * @date 2021/4/12 14:17
 */
public interface SensorPositionRepository extends JpaRepository<SensorPosition, Long> {
    List<SensorPosition> findAllByFloor(int floor);
}
